﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo.Mirror
{
	public struct ScannedString
	{
		public ScannedString(
			long startOffset,
			string text
			)
			: this()
		{
			this.StartOffset = startOffset;
			this.Text = text;
		}

		public override string ToString()
		{
			return string.Format("{0}: {1}", this.StartOffset, this.Text);
		}

		public long StartOffset { get; private set; }
		public string Text { get; private set; }
	}
}
